import 'package:flutter/material.dart';

import '../../../../common/my_icon.dart';
import '../../../../utils/screenutil/fit.dart';

class NoneVideo extends StatelessWidget {
  String txt;

  NoneVideo({@required String txt}) : this.txt = txt;

  @override
  Widget build(BuildContext context) {
    return Container(
      width: 640.f,
      height: 340.f,
      color: Colors.black,
      child: Column(
        mainAxisAlignment: MainAxisAlignment.center,
        children: [
          Icon(MyIcon.cuowu, color: Colors.white, size: 90.f),
          SizedBox(height: 10),
          Text(
            "$txt...",
            style: TextStyle(color: Colors.white, fontSize: 24.f),
          ),
        ],
      ),
    );
  }
}
